const common = {
  state: {
    refresh: false,
    menus: []
  },

  mutations: {
    SET_REFRESH: (state, refresh) => {
      state.refresh = refresh;
    },
    SET_MENUS: (state, menus) => {
      state.menus = menus;
    }
  }
};

export default common;
